#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
typedef struct y {
    int a;
    int b;
    struct y* next;
}k;

typedef struct m {
    struct y* head;
    struct y* tail;
    int quantity;
} AnimalShelf;
int firstUniqChar(char* s);
void animalShelfFree(AnimalShelf* obj);
int* animalShelfDequeueCat(AnimalShelf* obj, int* retSize);
int* animalShelfDequeueDog(AnimalShelf* obj, int* retSize);
int* animalShelfDequeueAny(AnimalShelf* obj, int* retSize);
void animalShelfEnqueue(AnimalShelf* obj, int* animal, int animalSize);
AnimalShelf* animalShelfCreate();
